package com.ruoyi.food.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 玉米脱粒记录对象 corn_take_off
 * 
 * @author ruoyi
 * @date 2025-04-13
 */
public class CornTakeOff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 玉米归属人 */
    @Excel(name = "玉米归属人")
    private String cornUser;

    /** 斤数 */
    @Excel(name = "斤数")
    private BigDecimal foodWeight;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal foodPrice;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operateUser;

    /** 总额 */
    @Excel(name = "总额")
    private BigDecimal totalPrice;

    /** 用户地址 */
    @Excel(name = "用户地址")
    private String userAddress;

    /** $column.columnComment */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCornUser(String cornUser) 
    {
        this.cornUser = cornUser;
    }

    public String getCornUser() 
    {
        return cornUser;
    }

    public void setFoodWeight(BigDecimal foodWeight) 
    {
        this.foodWeight = foodWeight;
    }

    public BigDecimal getFoodWeight() 
    {
        return foodWeight;
    }

    public void setFoodPrice(BigDecimal foodPrice) 
    {
        this.foodPrice = foodPrice;
    }

    public BigDecimal getFoodPrice() 
    {
        return foodPrice;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setOperateUser(String operateUser) 
    {
        this.operateUser = operateUser;
    }

    public String getOperateUser() 
    {
        return operateUser;
    }

    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }

    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cornUser", getCornUser())
            .append("foodWeight", getFoodWeight())
            .append("foodPrice", getFoodPrice())
            .append("unit", getUnit())
            .append("operateUser", getOperateUser())
            .append("totalPrice", getTotalPrice())
            .append("remark", getRemark())
            .append("userAddress", getUserAddress())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
